package billingServer;


import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Bill implements Serializable{
	private static final long serialVersionUID = 1L;
	
	public List<BillItem> data = new ArrayList<BillItem>();

	public int getSize()
	{
		return data.size();
	}
	
	public long getAuctionID(int index)
	{
		return data.get(index).AuctionID;
	}

	public double getAuctionPrice(int index)
	{
		return data.get(index).AuctionPrice;
	}

	public double getCalculatedFixedPrice(int index)
	{
		return data.get(index).CalculatedFixedPrice;
	}

	public double getCalculatedVariablePrice(int index)
	{
		return data.get(index).CalculatedVariablePrice;
	}
}
